﻿using System.ServiceModel;
using ShellCommandService.Contracts.DataContracts;

namespace ShellCommandService.Contracts.ServiceContracts
{
    [ServiceContract(CallbackContract = typeof (IMyContractCallBack))]
    public interface IPushShellCommand
    {
        [OperationContract(IsOneWay = true)]
        void NormalFunction(string machineName);
    }

    public interface IMyContractCallBack
    {
        [OperationContract(IsOneWay = true)]
        void CallBackFunction(ShellCommandInfo shellCommandInfo);
    }
}
